<?php

namespace App\util;

abstract class Callable
{
    public function __invoke()
    {
        return $this;
    }
}

/*
class T extends Callable
{
        public $name = 'test';
}
//可以玩新花样啦！
$t = new T();
var_dump($t()->name);
*/